package com.into.common.csv.converters;

import com.into.common.csv.CSVConverter;

public class NoConverter implements CSVConverter<String> {

	protected static NoConverter	instance;

	@Override
	public String fromString(String value) throws Exception {
		return value;
	}

	@Override
	public String toString(String value) throws Exception {
		return value == null ? "" : value;
	}

	public static NoConverter getInstance() {
		if (instance == null)
			instance = new NoConverter();
		return instance;
	}

}
